package com.tbit.uqbike.constant;

import lombok.extern.slf4j.Slf4j;

import java.io.InputStreamReader;
import java.util.Properties;


/**
 * 阿里云短信
 *
 * @author Leon 2017年7月27日 下午2:25:09
 */
@Slf4j
public class PlatformData {
    public static String platform = "uqbike";

    static {
        Properties props = new Properties();
        try {
            props.load(new InputStreamReader(PlatformData.class.getClassLoader().getResourceAsStream("platform.properties"), "UTF-8"));
            platform = props.getProperty("platform");
        } catch (Exception e) {
            log.error("加载平台配置文件失败", e);
        }
    }

}
